﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lapas.Common
{
    public enum CultureCodeEnum
    {
        vi_VN,
        en_US,
    }

    public class CultureHelper
    {
        public static string GetCultureCode(string cultureCodeEnumString)
        {
            return cultureCodeEnumString.Replace('_', '-');
        }

        public static string ToCultureCodeEnum(string cultureCode)
        {
            return cultureCode.Replace('-', '_');
        }
    }
}
